package com.gitee.cirnochat.file.model.vo.resp;

import com.gitee.cirnochat.file.model.enums.FileType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;

@Data
@Schema(description = "文件上传结果")
public class FileUploadResponse implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "文件唯一标识")
    private Long fileId;

    @Schema(description = "文件存储路径")
    private String fileUrl;

    @Schema(description = "文件名称")
    private String fileName;

    @Schema(description = "文件大小")
    private Long fileSize;

    @Schema(description = "文件类型")
    private FileType fileType;

    @Schema(description = "文件扩展名")
    private String extension;

    @Schema(description = "文件MD5")
    private String md5;
}
